package com.emmmya.pojo.excel;

import com.emmmya.harinCheck.annotation.Check;
import lombok.Data;

/**
 * @author Harin
 * @version 1.0
 * @date 2022-05-09 16:32:10
 */
@Data
public class MergedResult {
    @Check(name="校验结果",desc = "true为合并单元格")
    private Boolean flag;
    @Check(name="开始行index")
    private Integer firstRow;
    @Check(name="结束行index")
    private Integer lastRow;
    @Check(name="开始列index")
    private Integer firstColumn;
    @Check(name="结束行index")
    private Integer lastColumn;


    public MergedResult() {
    }

    public MergedResult(Boolean flag, Integer firstRow, Integer lastRow, Integer firstColumn, Integer lastColumn) {
        this.flag = flag;
        this.firstRow = firstRow;
        this.lastRow = lastRow;
        this.firstColumn = firstColumn;
        this.lastColumn = lastColumn;
    }

}
